#include <iostream>

using namespace std;
//场地类
class Court{
public:
    virtual void bounce(){
        cout << "反弹" <<endl;
    }

    virtual ~Court(){
        cout << "Court销毁" <<endl;
    }
};
//网球场地类1硬地场地
class Tennis_Venues_one:public Court{
public:
    void bounce(){
        cout << "砰砰砰" <<endl;
    }
    ~Tennis_Venues_one(){}
};

//网球场地类2红土场地
class Tennis_Venues_two:public Court{
public:
    void bounce(){
        cout << "咚咚咚" <<endl;
    }
    ~Tennis_Venues_two(){}
};